import request from '@/utils/request';
import { AxiosPromise } from 'axios';


//运营商提现记录
export const operatorCashoutList = (query: any): AxiosPromise<[]> => {
  return request({
    url: '/payment/operatorCashout/list',
    method: 'get',
    params: query
  });
};

//运营商提现审核
export const operatorVerifyCashout = (query: any): AxiosPromise<[]> => {
  return request({
    url: '/payment/operatorCashout/verifyCashout',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    method: 'post',
    data: query
  });
};